package com.erp.erp_ui.Contract_Info;

import com.erp.erp_entitys.Contract_Info.ContractInfoex;
import com.erp.erp_servers.Contract_Info.ContractInfoexService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 合同主信息扩展表(ContractInfoex)表控制层
 *
 * @author makejava
 * @since 2020-10-11 18:53:06
 */
@RestController
@RequestMapping("contractInfoex")
public class ContractInfoexController {
    /**
     * 服务对象
     */
    @Resource
    private ContractInfoexService contractInfoexService;

    /**
     * 通过主键查询单条数据
     *
     * @param  
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public ContractInfoex selectOne(Long id) {
        return this.contractInfoexService.queryById(id);
    }

}